.main-container {
    margin: 98px 0 40px 0;
    padding: 0 20px;
}

.main-box {
    width: 100%;
    margin: 0 auto;
}

.tip-box {
    width: 100%;
    background: #1a1a1c;
    border: 1px solid #0a0a0a;
    border-radius: 6px;
    box-shadow: 2px 2px 5px #0a0a0a;
    color: #e8e8e8;
}

.tip-box .tip-title {
    background-color: #2e2e33;
    wdith: 100%;
    height: 65px;
    line-height: 65px;
    font-size: 18px;
    color: #e8e8e8;
    padding: 0 35px;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    position: relative;
}

.tip-title .title-input {
    height: 28px;
    width: 156px;
    background: #1a1a1c;
    border: 1px solid #0a0a0a;
    border-radius: 6px;
    padding-left: 9px;
    line-height: 28px;
    margin-left: 30px;
    color: #787878;
}

.tip-body {
    padding: 10px 15px;
}

.select-item {
    height: 40px;
    padding: 8px 12px;
    color: #c3c3c4;
    border: 1px solid #0a0a0a;
    border-radius: 4px;
    background-color: #2f2e34;

    width: 100%;
}

.title-naked {
    padding: 8px 0;
    font-size: 16px;
    position: relative;
}

.title-naked .fa-minus, .title-naked .fa-plus {
    color: #737373;
    position: absolute;

    top: 9px;
    right: 0;
    cursor: pointer;
}

.title-naked ul {
    padding: 7px 0 0 0;
}

/*隐藏掉我们模型的checkbox*/
.my_protocol .input_agreement_protocol {
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    display: none;
}

.my_protocol i {
    color: #565661;
    font-style: normal;
    font-size: 14px;
    margin: 3px 0 3px 5px;
}

/*未选中时*/
.my_protocol .input_agreement_protocol + span {
    width: 12px;
    height: 12px;
    display: inline-block;
    background: url(../images/icon/icon-unchecked.png) no-repeat;
    position: relative;
    top: 0px;

}

/*选中checkbox时,修改背景图片的位置*/
.my_protocol .input_agreement_protocol:checked + span {
    background: url(../images/icon/icon-checked.png) no-repeat;
}

.my_protocol .input_agreement_protocol:checked + span + i {
    color: #128fff;
}

/*table*/
.table-box {
    position: absolute;
    top: 80px;
    left: 20px;
    right: 20px;
    bottom: 0;
}

.table-box .page {
    background: #1a1a1c;
}

/*table*/
table.layui-table[lay-skin=line] {
    margin: 0;
    background: #1a1a1c;
    border-width: 0px;

}

table.layui-table td {
    border-color: #3e3e3e;
}

table.layui-table thead, table.layui-table thead tr {
    background-color: #1a1a1c;
}

table.layui-table thead th {
    border-bottom: 1px solid #3e3e3e;
}

table.layui-table thead, table.layui-table thead tr th:nth-child(3), table.layui-table thead tr th:nth-child(2) {
    text-align: right;
}

table.layui-table tr:first-child td {
    border-top: 1px solid #3e3e3e;
    border-width: 1px;
}

table.layui-table td {
    border-left-style: hidden;
    border-right-style: hidden;
    border-bottom: 1px dashed #3e3e3e;
    font-size: 13px;
}

table.layui-table tr td i {
    width: 10px;
    height: 14px;
    display: inline-block;
    margin-left: 5px;
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -7px;
}

table.layui-table tr td:nth-child(2), table.layui-table tr td:nth-child(4), table.layui-table tr td:nth-child(6) {
    color: #f54f77;
    position: relative;
    text-align: right;
}

table.layui-table tr td.reduce {
    color: #0baa7a;
}

.date-box {
    color: #53535d;
    padding: 15px 0 0;
    height: 65px;
}

.btn-box {
    text-align: right;
}

.btn-box button {
    background: #4a4a52;
    border-radius: 20px;
    width: 160px;
    height: 40px;
    color: #e8e8e8;
    border: 0;

    margin: 35px 0 0 19px;
    cursor: pointer;
    font-weight: bold;
}

.btn-box button#runBack, .btn-box button#preservation {
    width: 120px;
}

.btn-box button:hover {
    background: #128fff;
}

.btn-box i {
    height: 15px;
    width: 17px;
    display: inline-block;
    background-size: contain;

    margin: 0 15px 0 0;
}

.btn-box .icon-download {
    background: url("../images/icon/icon-download.png") no-repeat;
}

.btn-box .icon-runBack {
    background: url("../images/icon/icon-runBack.png") no-repeat;
}

.btn-box .icon-preservation {
    background: url("../images/icon/icon-preservation.png") no-repeat;
}

/**
 *
 *
 *
 *
 *
 *
 */

/*tab*/
.layui-tab-card {
    border: 1px solid #0a0a0a;
    border-radius: 5px;
}

.layui-tab-card > .layui-tab-title {
    background-color: #1a1a1c;
    border-bottom: 1px solid #0a0a0a;
    border-radius: 5px;
}

.layui-tab-card > .layui-tab-title .layui-this {
    background-color: #212125;
    color: #128fff;
    border-bottom: 1px solid #212125;
}

.layui-tab-title .layui-this:after {
    display: none;
}

.layui-tab-title li {
    background-color: #1a1a1c;
    color: #e8e8e8;
    border-left: 1px solid #0a0a0a;
    border-bottom: 1px solid #0a0a0a;
}

.layui-tab-title li:last-child {
    border-right: 1px solid #0a0a0a;
}

.layui-tab-title li:first-child {
    border-top-left-radius: 5px;
}

.layui-tab-content {
    background-color: #212125;
    border-radius: 5px;
}

.tab-row {
    position: relative;
}

.tab-row .fa-chevron-up, .tab-row .fa-chevron-down {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #787878;
    z-index: 9;
}

.date-box > div {
    width: 325px;
    float: left;
}

.date-box select {
    width: 140px;
}

.date-box .title {
    height: 24px;
    color: #fff;
    padding-left: 1px;
}

.checkbox-box {
    height: 30px;
    line-height: 30px;
}

.checkbox-box ul li {
    float: left;
}

.layui-tab-content {
    padding: 10px 15px;
}

.layui-tab-content .label-box {
    height: 40px;
    line-height: 40px;
    margin-top: 5px;
    padding-left: 1px;
}

.checkbox-box ul li label {
    color: #44444d;
}

.checkbox-box ul li label input[checked] {
    color: #1275d5;
}

.layui-form-checkbox[lay-skin=primary] i {
    width: 14px;
    height: 14px;
    line-height: 14px;
    border: 1px solid #3d3d46;
    font-size: 11px;
    border-radius: 2px;
    background-color: rgba(0, 0, 0, 0);
    color: #212125;
}

.layui-form-checked[lay-skin=primary] i {
    border-color: #128fff;
    background-color: #128fff;
    color: #fff;
}

.layui-form-checked[lay-skin=primary] span {
    color: #128fff;
}

.left-right-position > div .main-box {
    width: 99%;
    margin-right: 1%;
}

.left-right-position > div:last-child .main-box {
    width: 99%;
    margin-left: 1%;
}

.only-chart-box {
    width: 100%;
    margin-bottom: 10px;
}

.input-time {
    height: 38px;
    padding: 0 15px;
    color: #c3c3c4;
    border: 1px solid #0a0a0a;
    border-radius: 4px;
    background-color: #2f2e34;

    width: 120px;
    float: left;
}

.date-box > div .input-time:nth-child(2) {
    margin-right: 10px;
}

#dialog-box1 {
    display: none;
    /*height: 650px;*/
    width: 800px;
    position: absolute;
    top: 90px;
    left: 50%;
    margin-left: -400px;
    /*margin-top: -315px;*/

}

.span-item span:hover, .span-item .span-checked {
    border: 1px solid #118ffe;
    cursor: pointer;
    color: #118ffe;
}

.span-item span {
    color: #777777;
    border: 1px solid #777777;
    border-radius: 4px;
    padding: 5px 10px;
    display: inline-block;
    margin-top: 11px;
    margin-left: 6px;
    margin-right: 6px;
}

.span-item span:first-child {
    margin-left: 0px;
}

.update-box {
    float: right;
    margin-bottom: 10px;
}

.update-box i {
    color: #128fff;
    cursor: pointer;
    margin-right: 10px;
    font-size: 14px;
}

.update-box label {
    color: #878787;
    font-size: 14px;
}

.update-box i.transform {
    -webkit-transition-property: -webkit-transform;
    -webkit-transition-duration: 1s;
    -moz-transition-property: -moz-transform;
    -moz-transition-duration: 1s;
    -webkit-animation: rotate 3s linear infinite;
    -moz-animation: rotate 3s linear infinite;
    -o-animation: rotate 3s linear infinite;
    animation: rotate 3s linear infinite;
}

@-webkit-keyframes rotate {
    from {
        -webkit-transform: rotate(0deg)
    }
    to {
        -webkit-transform: rotate(360deg)
    }
}

@-moz-keyframes rotate {
    from {
        -moz-transform: rotate(0deg)
    }
    to {
        -moz-transform: rotate(359deg)
    }
}

@-o-keyframes rotate {
    from {
        -o-transform: rotate(0deg)
    }
    to {
        -o-transform: rotate(359deg)
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg)
    }
    to {
        transform: rotate(359deg)
    }
}

.layui-form-item li {
    display: inline;
}

.dialog-content {
    height: 390px;
    overflow: auto;
}

/*dialog*/
#dialogDiv {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 450px;
    height: 260px;
    border: 2px solid #a1a1a1;
    background-color: #222126;
    margin-left: -225px;
    margin-top: -130px;
    display: none;
}

#dialogDiv .input-box label, #dialogDiv .select-box label {
    width: 60px;
    display: inline-block;
    color: #aeaeae;
}

#dialogDiv .tips-box {
    height: 77px;
    line-height: 77px;
    text-align: center;
    color: #aeaeae;
    font-weight: bold;
}

#dialogDiv .select-box {
    text-align: center;
    height: 74px;
}

#dialogDiv .select-box select {
    width: 334px;
    border: 1px solid #7b9dd4;
    background-color: #797979;
    border-radius: 0;
    height: 28px;
    line-height: 28px;
    padding: 0 0 0 10px;
}

#dialogDiv .button-box {
    text-align: center;
}

#dialogDiv .button-box input {
    background-color: #37353c;
    width: 90px;
    height: 24px;
    color: #fff;
    border: 1px solid #6b6b6b;
    border-radius: 3px;
    cursor: pointer;
}

#dialogDiv .button-box input:first-child {
    margin-right: 20px;
}

#dialogDiv .button-box input:hover {
    background-color: #3399ff;
}

#dialogDiv .input-box {
    height: 60px;
    text-align: center;
}

#dialogDiv .input-box input {
    width: 320px;
    border: 1px solid #7b9dd4;
    background-color: #797979;
    border-radius: 0;
    height: 28px;
    line-height: 28px;
    padding: 0 0 0 10px;
    color: rgb(181, 195, 191);
}

#dialogDiv .input-box input::-webkit-input-placeholder {
    color: rgb(181, 195, 191);
}